{extend name="default/base" /}
{block name="title"}入驻人联系方式 - 商家入驻 - {:WSTConf('CONF.mallName')}{__block__}{/block}
{block name="main"}
<link rel="stylesheet" type="text/css" href="__STATIC__/plugins/webuploader/webuploader.css?v={$v}" />
<link href="__STATIC__/plugins/validator/jquery.validator.css?v={$v}" rel="stylesheet">
<link href="__STYLE__/css/shopapply.css?v={$v}" rel="stylesheet">
<div class="wst-container">
	<div id="stepflex" class="stepflex">
       <dl class="first doing">
          <dt class="s-num">1</dt>
          <dd class="s-text">签订入驻协议</dd>
          <dd></dd>
       </dl>
       <dl class="normal doing">
          <dt class="s-num">2</dt>
          <dd class="s-text">入驻人联系方式</dd>
          <dd></dd>
       </dl>
       <dl class="normal doing">
          <dt class="s-num">3</dt>
          <dd class="s-text">公司信息</dd>
       </dl>
       <dl class="normal doing">
          <dt class="s-num">4</dt>
          <dd class="s-text">税务及银行信息</dd>
       </dl>
       <dl class="normal">
          <dt class="s-num1">5</dt>
          <dd class="s-text1">店铺信息</dd>
       </dl>
       <dl class="last">
          <dt class="s-num1">6</dt>
          <dd class="s-text1">入驻审核</dd>
       </dl>
    </div>
    <div class='wst-clear'></div>
    <div class='main-head'>税务及银行信息</div>
    <div class='apply-box'>
    <form id='applyFrom' autocomplete='off'>
      <table class='agreement-table'>
        <tr>
          <td class='head-ititle'>税务信息</td>
        </tr>
        <tr>
          <th>纳税人类型<font color='red'>*</font>：</th>
          <td>
          <select id='taxpayerType' class='a-ipt'>
             {volist name=":WSTDatas('TAXPAYER_TYPE')" id='vo'}
             <option value='{$vo["dataVal"]}' {if $apply['taxpayerType']==$vo["dataVal"]}selected{/if}>{$vo["dataName"]}</option>
             {/volist}
          </select>
          </td>
        </tr>
        <tr>
          <th valign="top">纳税人识别号<font color='red'>*</font>：</th>
          <td><input type='text' id='taxpayerNo' class='a-ipt' data-rule='纳税人识别号:required;' value='{$apply["taxpayerNo"]}'/><br/><span class='tip'>三证合一的请填写统一社会信用代码</span></td>
        </tr>
        <tr>
          <th valign="top">税务登记证电子版<font color='red'>*</font>：</th>
          <td>
            <span class='tip'>请同时上传国税、地税的税务登记证，两者缺一不可，复印件加盖公司红章，如贵司所在地区已推行“三证合一”，此处请上传营业执照副本电子版。【最多只能上传三张图片】</span><br/>
            <input type='hidden' id='taxRegistrationCertificateImg' class='a-ipt' data-rule="税务登记证电子版: required;" data-target="#msg_taxRegistrationCertificateImg" value='{$apply["taxRegistrationCertificateImg"]}'/>
            <div id='taxRegistrationCertificateImgPicker'>请上传组织机构代码证电子版</div>
            <span id='taxRegistrationCertificateImgMsg'></span>
            <div id='taxRegistrationCertificateImgBox'></div>
            <span class='msg-box' id='msg_taxRegistrationCertificateImg'>
              {volist name="$apply['taxRegistrationCertificateImgVO']" id='vo'}
              <div style="width:75px;float:left;margin-right:5px;">
                <img class="step_pic" width="75" height="75" src="__RESOURCE_PATH__/{$vo}" v="{$vo}">
                <div style="position:relative;top:-80px;left:60px;cursor:pointer;" onclick='javascript:delVO(this)'>
                  <img src="__ROOT__/wstmart/home/view/default/img/seller_icon_error.png">
                </div>
              </div>
              {/volist}
            </span>
          </td>
        </tr>
        <tr>
          <th valign="top">一般纳税人资格证电子版<font color='red'>*</font>：</th>
          <td>
          <span class='tip'>三证合一地区请上传税务局网站上一般纳税人截图，复印件需加盖公司红章。</span><br/>
          <input type='hidden' id='taxpayerQualificationImg' class='a-ipt' data-rule="一般纳税人资格证电子版: required;" data-target="#msg_taxpayerQualificationImg" value='{$apply["taxpayerQualificationImg"]}'/>
          <div id='taxpayerQualificationImgPicker'>请上传法人证件电子版</div>
          <span id='taxpayerQualificationImgMsg'></span>
          <img id='taxpayerQualificationImgPreview' src='__RESOURCE_PATH__/{$apply["taxpayerQualificationImg"]}' {if $apply["taxpayerQualificationImg"]==''}style='display:none'{/if} width='150'>
          <span class='msg-box' id='msg_taxpayerQualificationImg'></span>
          </td>
        </tr>
        <tr>
          <td class='head-ititle'>结算账号信息</td>
        </tr>
        <tr>
          <th>银行开户名<font color='red'>*</font>：</th>
          <td>
            <input type='text' id='bankUserName' class='a-ipt' maxlength='50' data-rule='银行开户名:required;' value='{$apply["bankUserName"]}'/>
          </td>
        </tr>
        <tr>
          <th>对公结算银行账号<font color='red'>*</font>：</th>
          <td>
            <input type='text' id='bankNo' class='a-ipt' maxlength='20' data-rule='对公结算银行账号:required;' value='{$apply["bankNo"]}'/>
          </td>
        </tr>
        <tr>
          <th>开户银行名称<font color='red'>*</font>：</th>
          <td>
            <select id='bankId' id='bankId' class='a-ipt' data-rule='对公结算银行账号:required;'>
              {foreach $bankList as $v}
              <option value="{$v['bankId']}" {if $apply['bankId']==$v['bankId']}selected{/if}>{$v['bankName']}</option>
              {/foreach}
            </select>
          </td>
        </tr>
        <tr>
          <th>开户银行支行所在地<font color='red'>*</font>：</th>
          <td>
            <select id="barea_0" class='j-bareas' level="0" onchange="WST.ITAreas({id:'barea_0',val:this.value,isRequire:true,className:'j-bareas'});">
            <option value="">-请选择-</option>
            {foreach $areaList as $v}
              <option value="{$v['areaId']}">{$v['areaName']}</option>
            {/foreach}
          </select>
          </td>
        </tr>
      </table>
      </form>
    </div>
     <div class='agreement-bottom'>
        <a href='{:Url("home/shops/joinStep3")}' class='btn-cancel'>上一步</a>
        <a href='javascript:saveStep4()' class='btn-submit' style='margin-left:10px;'>下一步</a>
        <div class='wst-clear'></div>
     </div>
</div>
{/block}
{block name="js"}
<script type='text/javascript' src='__STATIC__/plugins/webuploader/webuploader.js?v={$v}'></script>
<script type="text/javascript" src="__STATIC__/plugins/validator/jquery.validator.min.js?v={$v}"></script>
<script type='text/javascript' src='__STYLE__/js/apply.js?v={$v}'></script>
<script>$(function(){initStep3('{$apply["bankAreaIdPath"]}')})</script>
{/block}